<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>游戏详情</title>
    
    <meta charset="utf-8"/>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" href="gold/css/bootstrap.min.css">
	<script src="gold/js/jquery.js"></script>
	<script src="gold/js/bootstrap.min.js"></script>
	<style type="text/css">
		#container {
			margin-top: -20px;
			margin-left: 10px;
		}
		td {
			vertical-align: middle !important;
		}
	</style>
	

  </head>
  
  <body>
    <div id="container">
		<div class="page-header text-center">
			<h2>游戏详情</h2>
		</div>
		<div class="row">
			<div class="col-xs-6 col-sm-4 col-md-offset-4">
				<form class="form-horizontal text-center" >
					<table class="table table-bordered table-condensed ">
						<thead></thead>
						<tbody>
							<tr>
								<td>游戏id</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameId}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏名称</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameName}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏类型</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameType}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏状态</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameStatus}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏开发商</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameDevelopers}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏备案号</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameFiling}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏简介</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameIntroduction}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏详情</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameDetail}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏币价格</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameCurrency}
									</div></td>
							</tr>
							
							<tr >
								<td>话费价格</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameTariffe}
									</div></td>
							</tr>
							
							<tr >
								<td>游戏封面</td>
								<td>
									<div class="col-sm-10  col-md-offset-4">
										<img class="img-responsive" width="80"
											src="/file/game/${gameDetails.gameCover}" />
									</div></td>
							</tr>
							
							<tr >
								<td>游戏画面截图</td>
								<td>
									 <div class="col-sm-5  col-md-4">
     									<div class="thumbnail">
        									 <img class="img-responsive"   width="100"
											src="/file/game/screen/${gameScreen1}" />
      									</div>
 									 </div>
 									 <div class="col-sm-4  col-md-4">
     									<div class="thumbnail">
										<img class="img-responsive"   width="100"   src="/file/game/screen/${gameScreen2}"  width="50" />
      									</div>
 									 </div>
 									 <div class="col-sm-4  col-md-4">
     									<div class="thumbnail">
        									 <img class="img-responsive"    width="100"  
											src="/file/game/screen/${gameScreen3}" />
      										
      									</div>
 									 </div>
								</td>
							</tr>
							
							<tr >
								<td>创建时间</td>
								<td>
									<div class="col-sm-10">
										${gameDetails.gameCreateTime}
									</div></td>
							</tr>
							
							<tr >
								<td>修改时间</td>
								<td>
									<div class="col-sm-10">
									${gameDetails.gameUpdateTime}
									</div></td>
							</tr>
						</tbody>
					</table>
					<div class="row">
						<div class="col-xs-6 col-sm-4">
							<div class="form-group">
								<div class="col-sm-offset-10 col-sm-11">
									<button class="btn btn-warning" onclick="goBack()">返回上一页</button>
								</div>
							</div>
						</div>
					</div>
				</form>

			</div>
		</div>
	</div>
  </body>
  <script type="text/javascript">
	  	function goBack(){
	  		window.history.back();
	  	}
  </script>
</html>
